﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Adams.Public.Web.Controllers
{
    public class EidPrayersController : Controller
    {
        [AppendLayoutViewModel]
        public ActionResult Index()
        {
            var model = Business.Web.EidPrayers.Index.PageLoad();
            return View(model);
        }

        [AppendLayoutViewModel]
        public ActionResult Location(DataTransfer.EidPrayers.GetLocationInput input)
        {
            input.Location = Adams.Shared.UrlHelper.Dec(input.Location);
            var model = Business.Web.EidPrayers.Location.PageLoad(input);
            return View(model);
        }
    }
}
